package com.indusfo.spc.service;

import com.indusfo.spc.pojo.DeviceType;
import com.indusfo.spc.vo.JSONObject;

/**
 *@Description 设备类型service
 *@Author louk
 *@Date 14:12 2019/12/10
*/
public interface DeviceTypeService {

    //编辑
    JSONObject insertDeviceType(DeviceType deviceType);
    JSONObject updateDeviceType(DeviceType deviceType);
    //删除
    JSONObject defineDeviceType(Integer deviceTypeId,Integer  dataState);
    //树
    JSONObject treeDeviceType(DeviceType deviceType);
    //查询所有设备类型
    JSONObject queryAllDeviceType(DeviceType deviceType);
    //过滤设备类型下的保养明细后的查询
    JSONObject filterMaintain(DeviceType deviceType);
    //过滤设备类型下的明细后的查询
    JSONObject filterInspect(DeviceType deviceType);
}
